import request from '@/utils/request'

export function getlist(pageNum, pageSize) {
    return request({
      url: '/message-board/listData',
      method: 'get',
      params: { pageNum, pageSize }
    })
  }


  export function deleteOne(id) {
    return request({
      url: '/message-board/delete',
      method: 'get',
      params: { id }
    })
  }